form {
    width: 300px;
    margin: 20px auto;
    font-family: "微软雅黑";
  }
  
  input[type="text"], textarea {
    width: 100%;
    border: 1px solid #6666ff;
    margin-bottom: 10px;
    padding: 5px;
    border-radius: 4px;
  }
  
  /* 获取焦点时红色边框 */
  input[type="text"]:focus,
  textarea:focus {
    border-color: red;
    outline: none;
  }
  
  /* 按钮样式 */
  button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 3px;
    cursor: pointer;
  }
  button:hover {
    background-color: #0056b3;
  }
  